#include "list.h"

void test1()
{
	ListNode* plist = malloc(sizeof (ListNode));
	initList(plist);
	//listPushBack(plist, 1);
	//listPushBack(plist, 2);
	//listPushBack(plist, 3);
	//listPushBack(plist, 4);
	listPushFront(plist, 1);
	listPushFront(plist, 2);
	listPushFront(plist, 3);
	listPushFront(plist, 4);
	printList(plist);
	//ListNode* node = findNode(plist, 1);
	//if (node)
	//	listInsertBefore(node, 10);
	//printList(plist);
	//listErase(node);
	//printList(plist);
	destroyList(plist);
	plist = NULL;
}


int main()
{
	test1();
	return 0;
}